package Demo;

public class Test {
    public static void main(String[] args) {
        Dog dog=new Dog();
        dog.name="dahuang";
        dog.age=16;
        dog.eat();
        dog.bark();
        System.out.println("=================");
        Cat cat=new Cat();
        cat.name="xiaohu";
        cat.age=9;
        cat.eat();
        cat.mimi();
    }

}
